﻿using System.Collections.Generic;

namespace smp.RabbitMq.Strategies
{
    public interface ISubscriberStrategy
    {
        StrategyResult HandleMessage(List<ISubscriberHandler> handlers, Envelope envelope);
    }

    public interface IResponderStrategy
    {
        object HandleResponse(IResponderHandler handler, Envelope envelope);
    }

    public class StrategyResult
    {
        public object ResponderResponse { get; set; }
        public bool Success { get; set; }
    }
}
